package com.hanliy.service.impl;

import com.hanliy.dao.AdminMapper;
import com.hanliy.pojo.AdminEntity;
import com.hanliy.service.AdminService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author hanyulin
 * @apiNote
 * @date 2021/11/9 11:45
 */
@Service
public class AdminServiceImpl implements AdminService {

    @Autowired
    private AdminMapper adminMapper;

    @Override
    public List<AdminEntity> queryAdminByName(String username) {
        return adminMapper.queryAdminByName(username);
    }
}
